package com.foreknow.demo12;

/**
 * Created by foreknow on 2021/7/25.
 */
public class OrderItem {
    private String pname;// 图书名称
    private double pprice;// 图书单价
    private int num;// 购买数量

    public OrderItem() {

    }

    public OrderItem(String pname, double pprice, int num) {
        this.pname = pname;
        this.pprice = pprice;
        this.num = num;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public double getPprice() {
        return pprice;
    }

    public void setPprice(double pprice) {
        this.pprice = pprice;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
